package com.ymatou.iapi.dguser.parameter;

import com.ymatou.common.lang.CipherUtil;
import com.ymt.base.BaseBean;
import com.ymttest.business.service.JUserCallService;

/**
 * 创建用户 FreeMaker Template自动生成代码
 */
public class UserCreateBean extends BaseBean {
	private boolean isSetPwd;
	private Integer shopId;
	
	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public boolean getIsSetPwd() {
		return isSetPwd;
	}

	public void setIsSetPwd(boolean isSetPwd) {
		this.isSetPwd = isSetPwd;
	}

	/**
	 * wxsqBuyer
	 */
	private String wxAppName;

	public String getWxAppName() {
		return wxAppName;
	}

	public void setWxAppName(String wxAppName) {
		this.wxAppName = wxAppName;
	}

	/** 用户登录Id */
	private String loginId;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#loginId
	 */
	public String getLoginId() {

		return loginId;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#loginId
	 */
	public void setLoginId(String loginId) {

		this.loginId = loginId;

	}

	/** 手机号，买家和客服可以不填，商家必填 */
	private String mobile;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#mobile
	 */
	public String getMobile() {

		return mobile;

	}

	public String getEnMobile() {
		String enmobile = null;
		try {
			enmobile = CipherUtil.decryptAES(JUserCallService.EncryptKey, this.mobile);
		} catch (Exception e) {
		}
		return enmobile;
	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#mobile
	 */
	public void setMobile(String mobile) {

		this.mobile = mobile;

	}

	/** 手机国际区号，买家和客服可以不填，商家必填 */
	private String mobileAreaCode;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#mobileAreaCode
	 */
	public String getMobileAreaCode() {

		return mobileAreaCode;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#mobileAreaCode
	 */
	public void setMobileAreaCode(String mobileAreaCode) {

		this.mobileAreaCode = mobileAreaCode;

	}

	/** 登录密码 */
	private String loginPwd;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#loginPwd
	 */
	public String getLoginPwd() {

		return loginPwd;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#loginPwd
	 */
	public void setLoginPwd(String loginPwd) {

		this.loginPwd = loginPwd;

	}

	/** 用户类型，1.分销用户通用描述 */
	private Integer userType;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#userType
	 */
	public Integer getUserType() {

		return userType;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#userType<br/>
	 *      Buyer 0 买家<br/>
	 *      Seller 1 商家<br/>
	 */
	public void setUserType(Integer userType) {

		this.userType = userType;

	}

	/** 性别，1.分销用户通用描述 */
	private Integer userGender;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#userGender
	 */
	public Integer getUserGender() {

		return userGender;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#userGender<br/>
	 *      Unknown 0 未知<br/>
	 *      Male1 男<br/>
	 *      Female2 女<br/>
	 */
	public void setUserGender(Integer userGender) {

		this.userGender = userGender;

	}

	/** 昵称 */
	private String nickname;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#nickname
	 */
	public String getNickname() {

		return nickname;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#nickname
	 */
	public void setNickname(String nickname) {

		this.nickname = nickname;

	}

	/** 头像 */
	private String logoUrl;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#logoUrl
	 */
	public String getLogoUrl() {

		return logoUrl;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#logoUrl
	 */
	public void setLogoUrl(String logoUrl) {

		this.logoUrl = logoUrl;

	}

	/** 买家所属商家Id，独立小程序必填 */
	private Integer belongSellerId;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#belongSellerId
	 */
	public Integer getBelongSellerId() {

		return belongSellerId;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#belongSellerId
	 */
	public void setBelongSellerId(Integer belongSellerId) {

		this.belongSellerId = belongSellerId;

	}

	/** 是否客服 */
	private Boolean iscs;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#isCs
	 */

	public Boolean getIscs() {
		return iscs;
	}

	public void setIscs(Boolean iscs) {
		this.iscs = iscs;
	}

	/** 邀请码，代理商必填 */
	private String invitationCode;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#invitationCode
	 */
	public String getInvitationCode() {

		return invitationCode;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#invitationCode
	 */
	public void setInvitationCode(String invitationCode) {

		this.invitationCode = invitationCode;

	}

	/** 国家编号，商家必填 */
	private String countryCode;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#countryCode
	 */
	public String getCountryCode() {

		return countryCode;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#countryCode
	 */
	public void setCountryCode(String countryCode) {

		this.countryCode = countryCode;

	}

	/** 渠道来源，1.分销用户通用描述 */
	private Integer channelSource;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#channelSource
	 */
	public Integer getChannelSource() {

		return channelSource;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#channelSource<br/>
	 *      Other0 洋码头<br/>
	 *      Alipay3 支付宝<br/>
	 *      QQ4 QQ<br/>
	 *      Weibo5 weibo<br/>
	 *      WeiXin6 微信<br/>
	 */
	public void setChannelSource(Integer channelSource) {

		this.channelSource = channelSource;

	}

	/** 终端来源，1.分销用户通用描述 */
	private Integer terminalSource;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#terminalSource
	 */
	public Integer getTerminalSource() {

		return terminalSource;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#terminalSource<br/>
	 *      Other0 其他 default<br/>
	 *      PC1 Pc<br/>
	 *      IOS2 IOs<br/>
	 *      Android3 Android<br/>
	 *      PAD4 PAD<br/>
	 */
	public void setTerminalSource(Integer terminalSource) {

		this.terminalSource = terminalSource;

	}

	/** 应用来源，1.分销用户通用描述 */
	private Integer appSource;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#appSource
	 */
	public Integer getAppSource() {

		return appSource;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#appSource<br/>
	 *      DG_BuyerWxApp 60 代购神器买家端小程序<br/>
	 *      DG_SellerWxApp 62 代购神器商家端小程序<br/>
	 *      DG_SellerApp 63 代购神器商家端App<br/>
	 */
	public void setAppSource(Integer appSource) {

		this.appSource = appSource;

	}

	/** 物理设备号 */
	private String physicsDeviceId;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#equipmentId
	 */

	public String getPhysicsDeviceId() {
		return physicsDeviceId;
	}

	public void setPhysicsDeviceId(String physicsDeviceId) {
		this.physicsDeviceId = physicsDeviceId;
	}

	/** 逻辑设备号 */
	private String logicDeviceId;

	public String getLogicDeviceId() {
		return logicDeviceId;
	}

	public void setLogicDeviceId(String logicDeviceId) {
		this.logicDeviceId = logicDeviceId;
	}

	/** 客户端IP */
	private String clientIp;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#clientIp
	 */
	public String getClientIp() {

		return clientIp;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#clientIp
	 */
	public void setClientIp(String clientIp) {

		this.clientIp = clientIp;

	}

	/** 备注 */
	private String remark;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#remark
	 */
	public String getRemark() {

		return remark;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#remark
	 */
	public void setRemark(String remark) {

		this.remark = remark;

	}

	/** 微信unionId */
	private String unionId;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#unionId
	 */
	public String getUnionId() {

		return unionId;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#unionId
	 */
	public void setUnionId(String unionId) {

		this.unionId = unionId;

	}

	/** 微信openId */
	private String openId;

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#openId
	 */
	public String getOpenId() {

		return openId;

	}

	/**
	 * @see com.ymatou.iapi.dguser.parameter.UserCreateBean#openId
	 */
	public void setOpenId(String openId) {

		this.openId = openId;

	}

	/*
	 * （非 Javadoc）
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "UserCreateBean [isSetPwd=" + isSetPwd + ", wxAppName=" + wxAppName + ", loginId=" + loginId
				+ ", mobile=" + mobile + ", mobileAreaCode=" + mobileAreaCode + ", loginPwd=" + loginPwd + ", userType="
				+ userType + ", userGender=" + userGender + ", nickname=" + nickname + ", logoUrl=" + logoUrl
				+ ", belongSellerId=" + belongSellerId + ", iscs=" + iscs + ", invitationCode=" + invitationCode
				+ ", countryCode=" + countryCode + ", channelSource=" + channelSource + ", terminalSource="
				+ terminalSource + ", appSource=" + appSource + ", physicsDeviceId=" + physicsDeviceId
				+ ", logicDeviceId=" + logicDeviceId + ", clientIp=" + clientIp + ", remark=" + remark + ", unionId="
				+ unionId + ", openId=" + openId + "]";
	}

	/**
	 * @param isSetPwd
	 *            要设置的 isSetPwd
	 */
	public void setSetPwd(boolean isSetPwd) {
		this.isSetPwd = isSetPwd;
	}

}
